Creating Cameras
There are three tools for creating a Camera in LEGION Simulator:
- Use the drawcamera command.
- Create a Camera based on the current view and default Camera aspect ratio.
- Create a Camera based on the current view and default Camera aspect ratio, then activate it on the Timeline.
Drawing a Camera
To create a Camera with precise coverage, use the drawcamera command.
Or…
- The Draw Camera tool dialog appears:
- Choose the required
aspect ratio from the drop-down. Fixed ratio options are 16:9, 21:9 and 4:3.
- Custom ratios can also be entered. Choose ‘Custom’ from the aspect ratio drop-down, then enter the desired ratio in the box to the right.
- A custom ratio must be in X:Y or X.xx:Y.yy format. Both sides of the ratio must be entered. Negative values are not allowed, and neither side of the ratio can be zero. If a ratio is invalid, the edge of the entry box becomes red:
- Decide whether to maintain the aspect ratio while drawing the shape, or let the shape determine the aspect ratio.
- If an exact Camera Field of View is required, enter it in the Field of View section. If not required, skip to step 6. Note that the ‘Draw from’ mode can only be ‘Centre’ in this configuration:
- Move the mouse over the workspace. A box indicating the Camera’s Field of View moves with the mouse.
- To draw a Camera for an unknown Field of View, leave the Field of View section blank, and choose where the Camera will be drawn from:
- If drawing from a corner:
- Left-click at any outer corner of the Camera’s desired Field of View.
- Move the mouse toward the diagonally opposite corner.
- The Camera boundary is shown as the mouse moves.
- The Draw Camera dialog updates its displayed Centre and Field of View.
- If Field of View sizes are linked to Camera aspect ratio, the Camera’s boundary will continue to respect that boundary as the mouse moves.
- Field of View cannot be larger than the Whole Model Camera.
- Skip to step 9.
- If drawing from the
centre:
- Left-click at the centre point of the Camera’s desired Field of View.
- Move the mouse toward the required diagonally opposite corner position.
- The Camera boundary is shown as the mouse moves.
- The Draw Camera dialog updates its displayed Field of View. Displayed centre point remains constant.
- If Field of View sizes are linked to Camera aspect ratio, the Camera’s boundary will continue to respect that boundary as the mouse moves.
- Field of View cannot be larger than the Whole Model Camera.
- Once the Camera covers the desired model region, left-click to drop it in place.
- The Camera property dialog is shown. See the later section Editing Camera Properties for details.
- After clicking OK in the Camera property dialog, the Camera is added to the project and is visible in the workspace:
Draw Camera Dialog’s Special Functions
The Draw Camera tool dialog offers two special functions:
- Fit to View.
- This button creates a Camera fitted to the current view, using the aspect ratio set in the Draw Camera dialog. In the likely event the current view does not match the Camera’s aspect ratio, visible model regions above/below or to the left/right of the Camera will be excluded from the Camera boundary.
- The Camera property dialog is immediately shown for the fitted Camera. See the later section Editing Camera Properties for details.
- Use Previous Size.
- This button is enabled if a Camera has previously been drawn in the current LEGION Simulator project. Clicking it will set the Field of View to that of the last drawn Camera in the current project. This is a convenient way to create multiple Cameras with the same dimensions.
- The ‘Draw from’ mode is automatically set to ‘Centre’ and a fixed-size Camera boundary is shown around the mouse. Follow instructions from Step 5 onwards in the previous section to position and create the Camera.
Creating a Camera for the Current View
To create a Camera that fits in the current view, simply right-click inside the workspace and select Create Camera based on the current view…
This uses the dimensions of the current view, and the default Camera aspect ratio in Simulator Project Settings, to quickly create a new Camera:
Review and modify Camera properties where necessary, then click OK to finish creating the Camera.
Note that the Camera is limited to the edges of the current view. It is shaped to maximise coverage while respecting the specified aspect ratio. This usually gives a Camera that does not completely cover the entire view:
In this image, the gold outer box encompasses the current view. The purple dash-dot box is a 16:9 Camera fitted to the current view. This leaves coverage gaps to the left and right of the Camera, shown with the shaded yellow boxes.
Creating a Camera on the Timeline
Some Timeline Tracks can activate Cameras at different times during recording or playback:
This creates a new Camera the same way as in the previous section Creating a Camera for the Current View, only there is now an extra step to confirm the new Timeline Event which activates that Camera.
- First, the Camera properties dialog appears. Confirm Camera parameters here:
- Then, the Camera Event property dialog appears. Confirm Camera Event parameters here:
- Click OK to complete the process. This creates the Camera, creates an Active Camera Event on the Timeline at the right-clicked time point, and sets that Event to activate the new Camera.